next
Round
Technologies
Experiences
Contribute
Login
next
Round
Technologies
Experiences
Contribute
Login
Question Loading...
State and Props
1. What is the state and props? How are they different?
Level: Expert | Frequency: High
2. How can you update the state of a component in React?
Level: Expert | Frequency: High
3. What happens when you call setState?
Level: Expert | Frequency: High
4. What is the purpose of the callback function as an argument of setState?
Level: Expert | Frequency: High
5. What is the purpose of the 'defaultProps' property in a React component?
Level: Expert | Frequency: High
6. What is the 'children' prop in React and how is it used?
Level: Expert | Frequency: High
All Topics
JSX
Virtual DOM
Reconciliation
State and Props
Components
Class Components
Function Components
Lifecycle functions
Code Sharing
Hooks
useState
useReducer
useMemo
useContext
useCallback
useEffect
Custom Hooks
New Hooks
HOC
Refs
Data Sharing
Events
Context API
Redux
Router
CSR-SSR
React APIs
Performance Optimisation
ReactDOM
React APIs
Strict Mode